package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.EvaluationInformationDao;
import io.renren.entity.EvaluationInformationEntity;
import io.renren.service.EvaluationInformationService;



@Service("evaluationInformationService")
public class EvaluationInformationServiceImpl implements EvaluationInformationService {
	@Autowired
	private EvaluationInformationDao evaluationInformationDao;
	
	@Override
	public EvaluationInformationEntity queryObject(Integer id){
		return evaluationInformationDao.queryObject(id);
	}
	
	@Override
	public List<EvaluationInformationEntity> queryList(Map<String, Object> map){
		return evaluationInformationDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return evaluationInformationDao.queryTotal(map);
	}
	
	@Override
	public void save(EvaluationInformationEntity evaluationInformation){
		evaluationInformationDao.save(evaluationInformation);
	}

	@Override
	public void update(EvaluationInformationEntity evaluationInformation){
		evaluationInformationDao.update(evaluationInformation);
	}
	
	@Override
	public void delete(Integer id){
		evaluationInformationDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		evaluationInformationDao.deleteBatch(ids);
	}
	
}
